Setting optimization options for GIF and PNG-8 formats GIF is the standard format for compressing images with flat color and crisp detail, such as line art, logos, or illustrations with type. (See About GIF format.) Like the GIF format, PNG-8 efficiently compresses solid areas of color while preserving sharp detail; however, not all Web browsers can display PNG-8 files. (See About PNG-8 format.) ![]() Optimization options for GIF format: A. Optimization format B. Color reduction algorithm C. Dither algorithm GIF format and PNG-8 format can use up to 256 colors to describe an image. The process of determining which colors to use is called indexing (which is why images in GIF and PNG-8 formats are sometimes called indexed color images). To convert an image to indexed color, Photoshop Elements builds a color lookup table, which stores and indexes the colors in the image. If a color in the original image does not appear in the color lookup table, the program chooses the closest one or simulates the color using available colors. To optimize an image in GIF or PNG-8 format: 1 Choose GIF or PNG-8 for the optimization format. 2 Choose a color reduction algorithm for generating the color lookup table: 3 To specify the maximum number of colors in the color palette, select a number from the Colors pop-up menu, enter a value in the text box, or use the arrows to change the number of colors. If the image contains fewer colors than the number specified, the color table will contain only the number of colors in the image. You can choose the Auto option when working with a fixed color palette. This option determines the number of colors in the color table based on the frequency of colors in the image. Choose Auto if you want Photoshop Elements to determine the optimal number of colors in the color table. 4 Choose a dithering algorithm option, and specify a percentage for Dither. (See Previewing and controlling dithering.) 5 If the image contains transparency, select Transparency to preserve transparent pixels as transparent; deselect Transparency to fill fully and partially transparent pixels with the Matte color. (See Making transparent and matted images.) 6 Select Interlaced to create an image that displays as low-resolution versions in a browser while the full image file is downloading. Interlacing can make downloading time seem shorter and assures viewers that downloading is in progress. Optimizing Images for the Web > Optimizing images > Setting optimization options for GIF and PNG-8 formats |